package com.cr.mrapp.dao;

import com.cr.mrapp.entity.Store;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StoreDao {
    int deleteByPrimaryKey(Integer storeId);

    int insert(Store record);

    int insertSelective(Store record);

    Store selectByPrimaryKey(Integer storeId);

    int updateByPrimaryKeySelective(Store record);

    int updateByPrimaryKey(Store record);

    List<Store> selectAll();

    List<Object> selectByPage(int i, int limit);

    int selectCount();
}